package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetZonePlayRecordListResp
 * @Description TODO
 * @date 2016-7-18   下午5:14:25
 */
@XmlRootElement
public class GetZonePlayRecordListResp extends SuperResp {

    /**
     * @Fields serialVersionUID : TODO
     */
    private static final long serialVersionUID = -5656444352646646029L;
    private Integer recordSize;
    List<ZonePlayRecordInfo> zonePlayRecordInfos;

    public Integer getRecordSize() {
        return recordSize;
    }

    public void setRecordSize(Integer recordSize) {
        this.recordSize = recordSize;
    }

    public List<ZonePlayRecordInfo> getZonePlayRecordInfos() {
        return zonePlayRecordInfos;
    }

    public void setZonePlayRecordInfos(List<ZonePlayRecordInfo> zonePlayRecordInfos) {
        this.zonePlayRecordInfos = zonePlayRecordInfos;
    }

    @Override
    public String toString() {
        return "GetZonePlayRecordListResp [getResultCode()=" + getResultCode()
                + ", getResultDesc()=" + getResultDesc() + "]";
    }

    public static class ZonePlayRecordInfo implements Serializable {
        /**
         * @Fields serialVersionUID : TODO
         */
        private static final long serialVersionUID = 7940366862542529847L;
        private String programCode;
        private String programName;
        private String zoneCode;
        private String userID;
        //yyyy-MM-dd HH:mm:ss
        private String recordTime;
        private Integer playTime;
        private Integer setNo;
        private Integer seriesFlag;
        private String seriesCode;
        private Long cpCode;
        private String imgAddress;
        private String poster;
        private String categoryPoster;
        private String stillImg;
        private Integer totalPlayTime;

        public String getProgramCode() {
            return programCode;
        }

        public void setProgramCode(String programCode) {
            this.programCode = programCode;
        }

        public String getProgramName() {
            return programName;
        }

        public void setProgramName(String programName) {
            this.programName = programName;
        }

        public String getZoneCode() {
            return zoneCode;
        }

        public void setZoneCode(String zoneCode) {
            this.zoneCode = zoneCode;
        }

        public String getUserID() {
            return userID;
        }

        public void setUserID(String userID) {
            this.userID = userID;
        }

        public String getRecordTime() {
            return recordTime;
        }

        public void setRecordTime(String recordTime) {
            this.recordTime = recordTime;
        }

        public Integer getPlayTime() {
            return playTime;
        }

        public void setPlayTime(Integer playTime) {
            this.playTime = playTime;
        }

        public Integer getSetNo() {
            return setNo;
        }

        public void setSetNo(Integer setNo) {
            this.setNo = setNo;
        }

        public Integer getSeriesFlag() {
            return seriesFlag;
        }

        public void setSeriesFlag(Integer seriesFlag) {
            this.seriesFlag = seriesFlag;
        }

        public Long getCpCode() {
            return cpCode;
        }

        public void setCpCode(Long cpCode) {
            this.cpCode = cpCode;
        }

        public String getSeriesCode() {
            return seriesCode;
        }

        public void setSeriesCode(String seriesCode) {
            this.seriesCode = seriesCode;
        }

        public String getImgAddress() {
            return imgAddress;
        }

        public void setImgAddress(String imgAddress) {
            this.imgAddress = imgAddress;
        }

        public String getPoster() {
            return poster;
        }

        public void setPoster(String poster) {
            this.poster = poster;
        }

        public String getCategoryPoster() {
            return categoryPoster;
        }

        public void setCategoryPoster(String categoryPoster) {
            this.categoryPoster = categoryPoster;
        }

        public String getStillImg() {
            return stillImg;
        }

        public void setStillImg(String stillImg) {
            this.stillImg = stillImg;
        }

        public Integer getTotalPlayTime() {
            return totalPlayTime;
        }

        public void setTotalPlayTime(Integer totalPlayTime) {
            this.totalPlayTime = totalPlayTime;
        }
    }
}

